######################################################################
# Welcome to the CMake build system for CP's Game Dev Practice
# This is the main file where we prepare the general build environment
# and provide build configuration options.
######################################################################

cmake_minimum_required(VERSION 2.8)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE)
cmake_policy(SET CMP0003 NEW)
# project name
project(Plato)

# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories("${PROJECT_BINARY_DIR}")
 
# subdirectory
add_subdirectory(Game)
add_subdirectory(RenderEngine)
add_subdirectory(Base)
add_subdirectory(GUI)
add_subdirectory(Math)
# add_subdirectory(MapEditor)
# add_subdirectory(Tutorial_Lighting)
# add_subdirectory(Tutorial_CreateDevice)
# add_subdirectory(Tutorial_Vertices)
# add_subdirectory(Tutorial_Matrices)
# add_subdirectory(Tutorial_MD2Viewer)
add_subdirectory(Tutorial_BSPViewer)
add_subdirectory(Tutorial_SkyBox)